/* 演示页面样式 */
.captcha-demo {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 40px 20px;
}

.demo-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.demo-header h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.demo-header p {
  color: #7f8c8d;
  font-size: 1.1rem;
  line-height: 1.6;
}

.demo-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
}

.demo-section {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.demo-section h2 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.demo-section ul,
.demo-section ol {
  padding-left: 20px;
  line-height: 1.8;
}

.demo-section li {
  margin-bottom: 8px;
  color: #34495e;
}

/* 统计区域 */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.stat-label {
  display: block;
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 8px;
}

.stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
}

.stat-value.success {
  color: #27ae60;
}

.stat-value.fail {
  color: #e74c3c;
}

/* 操作区域 */
.action-area {
  text-align: center;
}

.demo-btn {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px;
}

.demo-btn.primary {
  background: #3498db;
  color: white;
}

.demo-btn.primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.result-display {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
}

.result-display.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.result-display.fail {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* 技术信息 */
.tech-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.tech-info p {
  margin-bottom: 16px;
  color: #2c3e50;
  line-height: 1.6;
}

.tech-info ul {
  margin-top: 10px;
}

.tech-info li {
  color: #34495e;
  margin-bottom: 6px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .captcha-demo {
    padding: 20px 10px;
  }
  
  .demo-header h1 {
    font-size: 2rem;
  }
  
  .demo-section {
    padding: 20px;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .demo-btn {
    width: 100%;
    margin: 5px 0;
  }
}

@media (max-width: 480px) {
  .demo-header h1 {
    font-size: 1.5rem;
  }
  
  .demo-header p {
    font-size: 1rem;
  }
  
  .demo-section h2 {
    font-size: 1.3rem;
  }
} 